x86: AMD core-pair topology detection code
authorWei Huang <wei.huang2@amd.com>
Tue, 28 Jun 2011 08:13:53 +0000 (09:13 +0100)
committerWei Huang <wei.huang2@amd.com>
Tue, 28 Jun 2011 08:13:53 +0000 (09:13 +0100)
commit9a75615782f763326e1ad2a2aad4e8c9966755e3
tree60cc8c13f41fce864b07e4d3a9efe989981f5662
parent5f84766a30c8911e4f39c4b7dbdd01394e1d5224
x86: AMD core-pair topology detection code

This patch is to support core-pair topology introduced by AMD CPUs,
which introduces a new concept of [core, compute unit]. There is a new
feature bit for topology extension in CPUID:0x80000001. Also a new
CPUID 0x8000001E is introduced for CPU topology enumeration. This
patch collects the sibling information from the new CPUID and will be
stored in the sibling map in Xen hypervisor.

Signed-off-by: Wei Huang <wei.huang2@amd.com>
xen/arch/x86/cpu/amd.c
xen/arch/x86/cpu/common.c
xen/arch/x86/smpboot.c
xen/include/asm-x86/processor.h